package com.gitee.neuray.security.generator.databasemd.entity;

import com.gitee.neuray.security.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

import java.util.Date;

/**
 * 代码生成器-数据库信息
 *
 * @author zhhongyu
 * @email ${email}
 * @date 2020-01-08 16:40:58
 */
@Data
@Table(name = "T_DATABASE_INFO")
public class TDatabaseInfoEntity extends BaseEntity {
    /**
     * 项目ID
     */
    @Column(name = "PROJECT_ID")
    private String projectId;
    /**
     * 项目名称
     */
    @Column(name = "PROJECT_NAME")
    private String projectName;
    /**
     * 数据库名称
     */
    @Column(name = "DB_NAME")
    private String dbName;
    /**
     * 数据库类型
     */
    @Column(name = "DB_TYPE")
    private String dbType;
    /**
     * 数据库URL
     */
    @Column(name = "DB_URL")
    private String dbUrl;
    /**
     * 数据库密码
     */
    @Column(name = "PASSWORD")
    private String password;
    /**
     * 数据库用户名
     */
    @Column(name = "USER_NAME")
    private String userName;
    /**
     * 有效标志 0 无效 1有效；默认有效
     */
    @Column(name = "FLAG")
    private String flag;


}
